package com.situ.employee2024.model;

import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * 功能：
 *
 * @author 千堆雪
 * @version 1.0.0
 * @since 2024/1/9
 * <p>
 * created by 千堆雪 on 2024/1/9, last modified by 千堆雪 on 2024/1/9
 */
@Getter
@Setter
public class Employee {
    private Integer id;//编号，主键
    private String name;//姓名
    private String pinyin;//拼音
    private String sex;//性别
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate birthday;//出生日期
    private String email;//邮箱
    private String phone;//电话
    private String cardId;//身份证号
    private String description;//备注
}
